import { getSum } from './add/add.js'
console.log(getSum(5, 6));
// import { getSumArr } from './tool/tool.js';
// console.log(getSumArr([1, 2, 3]));
import $ from 'jquery'
$('ul li:odd').css('color', 'red')
$('ul li:even').css('color', 'green')
import './css/index.css'
import './less/index.less'
import imgObj from './assets/1.gif'
let img = document.createElement('img')
img.src = imgObj
document.body.appendChild(img)

import './assets/fonts/iconfont.css'
let i = document.createElement('i')
i.className = 'iconfont icon-qq'
document.body.appendChild(i)

const fn = () => {
    console.log('shabi');
}
console.log(fn);

import Vue from 'vue' // 引入vue.js对象
import App from './App.vue' // 根vue文件


new Vue({
    render: h => h(App) // 渲染函数, 渲染App组件里的标签
}).$mount('#app') // 把vue文件的标签结构 -> 挂载到id为app的标签里